package cn.lili.exchange;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "lili.amqp")
public class AmqpExchangeProperties {

    //售后
    private String afterSale = "AFTER_SALE";
    //商品
    private String goods = "GOODS";
    //订单
    private String order = "ORDER";
    //促销
    private String promotion = "PROMOTION";
    //用户
    private String user = "USER";
    //消息
    private String msg = "MSG";
    //店铺
    private String store = "STORE";
    //支付
    private String payment = "PAYMENT";
    //工会
    private String union = "UNION";

}
